enum PSP_BUTTONS_CODE
{
       PSP_BUTTON_Y,
       PSP_BUTTON_B,
       PSP_BUTTON_A,
       PSP_BUTTON_X,
       PSP_BUTTON_L,
       PSP_BUTTON_R,
       PSP_BUTTON_DOWN,
       PSP_BUTTON_LEFT,
       PSP_BUTTON_UP,
       PSP_BUTTON_RIGHT,
       PSP_BUTTON_SELECT,
       PSP_BUTTON_START,
       PSP_NUM_BUTTONS
};

char *itoa(int value, char *str, int radix);
void jouer(SDL_Surface* ecran, int level);
int deplacerJoueur(int carte[][NB_BLOCS_HAUTEUR], SDL_Rect *pos, int direction);
void deplacerCaisse(int *premiereCase, int *secondeCase);
